package com.qf.mapper;

import com.qf.pojo.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author lixu  Spring 单例
 */
public interface UserMapper {


    /**
     *   复制一  @Select("select * from user ")
     *     List<User> findAll();
     *      ThreadLocal
     * @return
     */

    @Select("select * from user ")
    List<User> findAll();
}
